package cn.edu.scau.cmi.wuyihan.exercise6.Example6_11;

public class Rect extends Geometry {
     double a,b;
     Rect(double a,double b){
    	 this.a=a;
    	 this.b=b;
     }
    public double getArea() {
    	return  a*b;
    }
}
